package com.tm.mapper;

import com.tm.model.TtHeadlinesInfo;
import com.tm.model.TtHeadlinesInfoCriteria;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface TtHeadlinesInfoMapper {
    int countByExample(TtHeadlinesInfoCriteria example);

    int deleteByExample(TtHeadlinesInfoCriteria example);

    int deleteByPrimaryKey(Integer headlinesInfoId);

    int insert(TtHeadlinesInfo record);

    int insertSelective(TtHeadlinesInfo record);

    List<TtHeadlinesInfo> selectByExampleWithBLOBs(TtHeadlinesInfoCriteria example);

    List<TtHeadlinesInfo> selectByExample(TtHeadlinesInfoCriteria example);

    TtHeadlinesInfo selectByPrimaryKey(Integer headlinesInfoId);

    int updateByExampleSelective(@Param("record") TtHeadlinesInfo record, @Param("example") TtHeadlinesInfoCriteria example);

    int updateByExampleWithBLOBs(@Param("record") TtHeadlinesInfo record, @Param("example") TtHeadlinesInfoCriteria example);

    int updateByExample(@Param("record") TtHeadlinesInfo record, @Param("example") TtHeadlinesInfoCriteria example);

    int updateByPrimaryKeySelective(TtHeadlinesInfo record);

    int updateByPrimaryKeyWithBLOBs(TtHeadlinesInfo record);

    int updateByPrimaryKey(TtHeadlinesInfo record);

	List<Map<String, Object>> getTtHeadlinesListByPage(Map<String, Object> param);

}